package com.swak.algs.paxos;

import java.util.concurrent.atomic.AtomicInteger;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 议案 - 结果
 * 
 * @author 618lf
 */
@Getter
@Setter
@Accessors(chain = true)
public class AcceptResult {

	private static AtomicInteger SN = new AtomicInteger(1);

	int id = SN.getAndIncrement();

	int proposerId;

	boolean ok;
}
